﻿using System;

namespace SUMO.MediaBrowser.Foundation
{
    public class FileUploadedEventArgs : EventArgs
    {
        private readonly Guid fileGuid;
        private readonly string fileIdentifier;
        private readonly double fileSize;

        public FileUploadedEventArgs(TabImage file)
            : this(file.ImageGuid, "Name", file.FileSize)
        {
        }

        public FileUploadedEventArgs(Guid fileGuid, string fileIdentifier, double fileSize)
        {
            this.fileGuid = fileGuid;
            this.fileIdentifier = fileIdentifier;
            this.fileSize = fileSize;
        }

        public Guid FileGuid
        {
            get { return fileGuid; }
        }

        public string FileIdentifier
        {
            get { return fileIdentifier; }
        }

        public double FileSize
        {
            get { return fileSize; }
        }
    }
}